<template>
	<view class="container">
		<view class="head  flex justify-between">
			<view class="head-left">
				<view class="user-top flex align-center">
					<view class="name">
						张明明
					</view>
					<view class="sex">
						男
					</view>
				</view>
				<view class="user-bot flex align-center">
					<text class="t1">10年以上经验</text>
					<text class="t2">39岁</text>
					<text class="t3">本科</text>
				</view>
			</view>
			<image class="avatar" :src="$mConfig.imageUrl + '/logo.png'" mode="aspectFit"></image>
		</view>
		<view class="settlement-box">
			<view class="settlement-item">
				<view class="settlement-item-label">
					工种类型
				</view>
				<view class="settlement-item-value">
					正式工
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					入职时间
				</view>
				<view class="settlement-item-value">
					2024年3月12号
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					招聘方式
				</view>
				<view class="settlement-item-value">
					公司直招
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					基本工资
				</view>
				<view class="settlement-item-value">
					2580.00元
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					加班基本工资
				</view>
				<view class="settlement-item-value">
					2580.00元
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					加班工资
				</view>
				<view class="settlement-item-value">
					每天工资/工作时长 x 1.5倍
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					工作时间
				</view>
				<view class="settlement-item-value">
					上午8:00 <text class="excess">至</text>20:00
				</view>
			</view>
			<view class="settlement-item">
				<view class="settlement-item-label">
					工作时长
				</view>
				<view class="settlement-item-value">
					15.5小时
				</view>
			</view>
		</view>

		<view class="btn-box flex justify-between align-center">
			<view class="btn-left flex align-center">
				<view class="btn-left-btn flex align-center justify-center">
					<text class="desc">考勤表</text>
					<text class="yzb yzb-next icon-next"></text>
				</view>
				<view class="money">
					<view class="money-t1">
						综合工资
					</view>
					<view class="money-t2">
						￥7509.00
					</view>
				</view>
			</view>
			<view class="btn-right flex align-center justify-center">
				确认结算
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	@import '@/static/style/commonClass.scss';

	.container {
		background-color: #F3F5FA;
		min-height: calc(100vh - 143rpx);
		padding: 0 19rpx 143rpx 19rpx;

		.head {
			margin: 0 29rpx 0 37rpx;
			padding-top: 20rpx;

			.head-left {

				.user-top {

					.name {
						font-weight: bold;
						font-size: 36rpx;
						color: #222222;
					}

					.sex {
						margin-left: 64rpx;
						font-weight: 500;
						font-size: 30rpx;
						color: #3B4552;
					}
				}

				.user-bot {
					margin-top: 32rpx;
					font-weight: 500;
					font-size: 30rpx;
					color: #222222;

					.t1 {}

					.t2 {}

					.t3 {}
				}
			}

			.avatar {
				width: 122rpx;
				height: 122rpx;
			}
		}

		.settlement-box {
			margin-top: 21rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			padding: 39rpx 38rpx 49rpx 38rpx;

			.settlement-item {
				@extend .flex;
				@extend .align-center;
				@extend .justify-between;
				margin-bottom: 40rpx;

				.settlement-item-label {
					font-weight: 500;
					font-size: 28rpx;
					color: #8994A2;
				}

				.settlement-item-value {
					font-weight: bold;
					font-size: 28rpx;
					color: #3B4552;
					text-align: right;
				}

				&:last-child {
					margin-bottom: 0;
				}
			}
		}

		.btn-box {
			width: 100%;
			height: 143rpx;
			background: #FFFFFF;
			border: 1px solid #E0E8F3;
			position: fixed;
			bottom: 0;
			left: 0;
			right: 0;

			.btn-left {
				margin-left: 47rpx;

				.btn-left-btn {
					width: 160rpx;
					height: 64rpx;
					background: #4F74FF;
					border-radius: 32rpx;
					font-weight: 500;
					font-size: 30rpx;
					color: #fff;

					.desc {
						margin-left: 4rpx;
					}

					.yzb {}
				}

				.money {
					margin-left: 28rpx;

					.money-t1 {
						font-weight: 500;
						font-size: 26rpx;
						color: #666666;
					}

					.money-t2 {
						font-weight: 800;
						font-size: 24rpx;
						color: #FF0000;
						margin-top: 18rpx;
					}
				}
			}

			.btn-right {
				margin-right: 39rpx;
				width: 170rpx;
				height: 84rpx;
				background: #3A92FF;
				border-radius: 12rpx;
				font-weight: bold;
				font-size: 28rpx;
				color: #FFFFFF;
			}
		}
	}
</style>